home *** CD-ROM | disk | FTP | other *** search
- 1 print"[147]":poke53280,6:poke53281,1:poke646,0
- 2 printtab(6)"commodares...math mystery"
- 3 rem solution by
- 4 rem scott sprouse
- 5 rem
- 10 for x=1234567 to 9999999
- 15 : tt=x/11
- 20 : if tt<>int(tt) then 75
- 25 : x$=str$(x)
- 30 : for i=3 to 8
- 35 : if mid$(x$,i,1)="0" then 75
- 40 : next i
- 45 : for i=2 to 7
- 50 : for j=i+1 to 8
- 55 : if mid$(x$,i,1)=mid$(x$,j,1) then 75
- 60 : next j
- 65 : next i
- 70 : print x
- 75 next x
- 80 end
-